<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('新增服务商机具尾款信息')" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-tailmoney-add">
            <div class="form-group">    
                <label class="col-sm-3 control-label is-required">主键：</label>
                <div class="col-sm-8">
                    <input name="id" class="form-control" type="text" required>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">服务商编号：</label>
                <div class="col-sm-8">
                    <input name="agentNum" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">服务商名称：</label>
                <div class="col-sm-8">
                    <input name="agentName" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">应付金额：</label>
                <div class="col-sm-8">
                    <input name="copewithMoney" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">应收金额(他人欠我金额)：</label>
                <div class="col-sm-8">
                    <input name="othersMoney" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">应付 - 实付金额：</label>
                <div class="col-sm-8">
                    <input name="actualMoney" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">抵扣状态 欠他人金额是否已抵扣完成 0 否 1是：</label>
                <div class="col-sm-8">
                    <div class="radio-box">
                        <input type="radio" name="deduStatus" value="">
                        <label th:for="deduStatus" th:text="未知"></label>
                    </div>
                    <span class="help-block m-b-none"><i class="fa fa-info-circle"></i> 代码生成请选择字典属性</span>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">添加日期：</label>
                <div class="col-sm-8">
                    <input name="addDate" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">添加时间：</label>
                <div class="col-sm-8">
                    <input name="addTime" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">应收 - 实收金额(他人欠我还款金额累计)：</label>
                <div class="col-sm-8">
                    <input name="othersMoneySum" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">应付金额：</label>
                <div class="col-sm-8">
                    <input name="copewithMoneyDes" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">应收金额(他人欠我金额) 盐值：</label>
                <div class="col-sm-8">
                    <input name="othersMoneyDes" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">应付 - 实付金额：</label>
                <div class="col-sm-8">
                    <input name="actualMoneyDes" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">应收 - 实收金额(他人欠我还款金额累计)盐值：</label>
                <div class="col-sm-8">
                    <input name="othersMoneySumDes" class="form-control" type="text">
                </div>
            </div>
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <script th:inline="javascript">
        var prefix = ctx + "terminal/tailmoney"
        $("#form-tailmoney-add").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/add", $('#form-tailmoney-add').serialize());
            }
        }
    </script>
</body>
</html>